<?php /* Smarty version 2.6.18, created on 2009-10-12 10:43:33
         compiled from systemC1_popup.tpl */ ?>
<form method="POST" action="/admin/systemC1Add">
	<div id="drag_bar" class="blue"><h2 class="dotted">Country</h2></div>
	<table>
		<tr>
			<td>
				<label>Country:</label>
			</td>
			<td>
				<input type="hidden" name="hid" value="<?php echo $this->_tpl_vars['country']['id']; ?>
">
				<input type="text" name="country" value="<?php echo $this->_tpl_vars['country']['country']; ?>
">
			</td>
		</tr>
		<tr>
			<td>
				<label>Code:</label>
			</td>
			<td>
				<input type="text" name="code" value="<?php echo $this->_tpl_vars['country']['country_code']; ?>
">
			</td>
		</tr>
		<tr>
			<td>
				<label>Region:</label>
			</td>
			<td>
				<input type="text" name="region" value="<?php echo $this->_tpl_vars['country']['region']; ?>
">
			</td>
		</tr>
		<tr>
			<td>
				<label>Currency:</label>
			</td>
			<td>
				<select name="mark">
					<option value=""> --- </option>
					<?php $_from = $this->_tpl_vars['currencies']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['currency']):
?>
						<option value="<?php echo $this->_tpl_vars['currency']['name']; ?>
"
						<?php if ($this->_tpl_vars['currency']['name'] == $this->_tpl_vars['country']['currency_name']): ?> selected <?php endif; ?>						
						><?php echo $this->_tpl_vars['currency']['currency_mark']; ?>
</option>
					<?php endforeach; endif; unset($_from); ?>
				</select>
			</td>
		</tr>
	</table>
	<input type="submit" value="Save">
	<input type="button" value="Cancel" onclick="popup('popUpDiv');">
</form>



	
	
	